<?php
/**
 * Created by PhpStorm.
 * User: admin
 * Date: 2018/11/14
 * Time: 19:19
 * smarty配置文件
 */

require_once("./common/smarty/Smarty.class.php");   //加载smarty类文件

//实例化一个smarty对象
$smarty=new Smarty();

//配置smarty参数
$smarty->template_dir=$smarty_template_dir;             //模板存放目录
$smarty->compile_dir=$smarty_compile_dir;               //编译后的模板存放目录
$smarty->cache_dir=$smarty_cache_dir;                   //缓存文件的存放目录
$smarty->caching=$smarty_caching;                       //是否开启缓存
$smarty->cache_lifetime=$smarty_cache_lifetime;         //缓存时间
$smarty->left_delimiter=$smarty_left_delimiter;         //左定界符
$smarty->right_delimiter=$smarty_right_delimiter;       //右定界符


